package com.edu.test;

import org.junit.Test;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/*
 * @Author:mx
 * @Date:2025/9/28-16:54:50
 */
public class LogTest02 {

    private Logger logger = LoggerFactory.getLogger(LogTest.class);
    //用测试方法 才能看到效果
    @Test
    public void test01(){

        logger.trace("trace级别的日志");
        logger.debug("debug级别的日志");
        logger.info("info级别的日志");
        logger.warn("warn级别的日志");
        logger.error("error级别的日志");
    }
}
